from django.conf.urls import patterns, url
from .views import  PostMainView, ArchiveMonth, PostDetailView

urlpatterns = patterns('',
    url(r'^$', PostMainView.as_view(), name='blog_base'),
    url(r'^post/(?P<id>\d+)/$', PostDetailView.as_view(), name='PostDetailView'), 
    url(r'^archive_month/(\d)/(\d+)/$', ArchiveMonth.as_view(), {}, "archive_moth"),    
       
)